package com.haixin.security.dao;

import com.haixin.security.bean.User;

import java.util.List;

public interface UserMapper {
    List<User> getAllUsers();
    User getUserById(int id);
    int insertUser(User user);
    int updateUser(User user);
    int deleteUser(int id);

    User getUserByName(String  name);
}
